<template>
  <div class="myCard">
    <van-nav-bar
      title="会员权益"
      left-text=""
      left-arrow
      @click-left="$router.go(-1)"
      safe-area-inset-top
    />
    <div class="pl-20 pr-20">
    <div class="title">我的成长值 <span class="cb31">36</span></div>
    <div class="card">
      <img src="https://img.yzcdn.cn/vant/cat.jpeg" alt="" />
    </div>
    <div class="title">小主权益<van-icon name="info-o" class="icon" /></div>
    <div class="grid mt-10">
      <van-grid :column-num="3">
        <van-grid-item>
          <van-icon class="icon26" name="point-gift-o" />
          <div class="num">充值送好礼</div>
          <div class="c999">充200送30</div>
        </van-grid-item>
        <van-grid-item>
          <van-icon class="icon26" name="balance-list-o" />
          <div class="num">消费得积点</div>
          <div class="c999">1积点=2元</div>
        </van-grid-item>
        <van-grid-item>
          <van-icon class="icon26" name="vip-card-o" />
          <div class="num">会员多件价</div>
          <div class="c999">周边特惠</div>
        </van-grid-item>
        <van-grid-item>
          <van-icon class="icon26" name="birthday-cake-o" />
          <div class="num">生日免费券</div>
          <div class="c999">生日饮品券</div>
        </van-grid-item>
        <van-grid-item>
          <van-icon class="icon26" name="shop-o" />
          <div class="num">门店订单评价</div>
          <div class="c999">听到您的反馈</div>
        </van-grid-item>
        <van-grid-item>
          <van-icon class="icon26" name="service-o" />
          <div class="num">专属客服</div>
          <div class="c999">解答您的疑问</div>
        </van-grid-item>
      </van-grid>
    </div>
    </div>
  </div>
</template>

<script>
export default {
  components: {},
  setup() {},
};
</script>

<style lang="less" scoped>
.myCard {
  background: #f8f8f8;
//   padding: 20px;
  box-sizing: border-box;
  .title {
    font-size: 14px;
    margin: 10px 0;
    .cb31 {
      font-weight: bold;
    }
    .icon {
      top: 2px;
    }
  }
  .card {
    overflow: hidden;
    img {
      width: 100%;
      height: 100%;
    }
  }
  /deep/.grid {
    /deep/.van-grid {
      .icon26 {
        font-size: 26px;
        color: #b31731;
      }
      .num {
        margin-top: 10px;
      }
      .c999 {
        font-size: 10px;
      }
    }
  }
}
</style>
